﻿using Caltech.Service.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Caltech.Models
{
    public class RoleModel : BaseModel
    {
        public string Name { get; set; }
        public Areas? Areas { get; set; }
        public Areas? LandingArea { get; set; }
        public string AreasText
        {
            get
            {
                if (Areas.HasValue)
                {
                    return Areas.ToString();
                }
                return "";
            }
        }
    }
}